package cc.wfu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 邮箱配置
 * @Date: 2024-05-16-14:00
 */
@Data
@ConfigurationProperties(prefix = "mail", ignoreInvalidFields = true)
public class MailConfigProperties {

    /** host: smtp.qq.com */
    private String host;

    /** 邮箱账号: 2148660566@qq.com */
    private String username;

    /** 授权码: nzduptkfifmpdibg */
    private String password;

    /** 端口：port */
    private Integer port;

    /** 协议：smtps */
    private String protocol;
}
